home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2410 / 2410.xpi / chrome / content / foxmarks-passwordconflict.xul < prev    next >
Extensible Markup Language  |  2010-01-28  |  3KB  |  87 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.  
  5.  Copyright 2005-2008 Foxmarks Inc.
  6.  
  7.  foxmarks-passwordconflict.xul: implements the dialog that appears when
  8.  foxmarks detects a password conflict.
  9.  
  10. -->
  11.  
  12. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  13.  
  14. <!DOCTYPE dialog SYSTEM "chrome://foxmarks/locale/foxmarks.dtd">
  15.  
  16. <dialog id="foxmarks-passwordconflict" title="&dialog.title.passwordconflict;"
  17.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  18.     buttons="cancel"
  19.     onload="onLoad();"
  20.     moveToAlertPosition="true">
  21.  
  22.     <script src="foxmarks-settings.js" />
  23.     <script src="foxmarks-passwordconflict.js" />
  24.     <script src="foxmarks-log.js" />
  25.  
  26.     <label value="&dialog.title.passwordconflict;"
  27.             style="margin-bottom: .5em; 
  28.             font-weight: bold; 
  29.             text-transform: uppercase;
  30.             padding-left: .5em;"
  31.     />
  32.     <vbox style="width: 50em; padding: 1em 1em 1.5em 1em;">
  33.         <description> 
  34.             &dialog.passwordconflict.desc;
  35.         </description>
  36.         <description> 
  37.             &dialog.passwordconflict.desc2;
  38.         </description>
  39.         <hbox flex="1">
  40.             <vbox flex="1">
  41.                 <label value="&dialog.passwordconflict.local;"
  42.                     style="margin-bottom: .5em; 
  43.                     font-weight: bold;" 
  44.                 />
  45.                 <hbox>
  46.                     <label value="&dialog.passwordconflict.site;" />
  47.                     <textbox id="local.site" readonly="true" />
  48.                 </hbox>
  49.                 <hbox>
  50.                     <label value="&dialog.passwordconflict.username;" />
  51.                     <textbox id="local.username" readonly="true" />
  52.                 </hbox>
  53.                 <hbox>
  54.                     <label value="&dialog.passwordconflict.password;" />
  55.                     <textbox id="local.password" readonly="true"
  56.                         type="password" />
  57.                 </hbox>
  58.                 <button label="&dialog.passwordconflict.keeplocal;"
  59.                     oncommand="onLocalOK();" />
  60.             </vbox>
  61.             <vbox flex="1">
  62.                 <label value="&dialog.passwordconflict.server;"
  63.                     style="margin-bottom: .5em; 
  64.                     font-weight: bold;" 
  65.                 />
  66.                 <hbox>
  67.                     <label value="&dialog.passwordconflict.site;" />
  68.                     <textbox id="server.site" readonly="true" />
  69.                 </hbox>
  70.                 <hbox>
  71.                     <label value="&dialog.passwordconflict.username;" />
  72.                     <textbox id="server.username" readonly="true" />
  73.                 </hbox>
  74.                 <hbox>
  75.                     <label value="&dialog.passwordconflict.password;" />
  76.                     <textbox id="server.password" readonly="true"
  77.                         type="password" />
  78.                 </hbox>
  79.                 <button label="&dialog.passwordconflict.keepserver;"
  80.                     oncommand="onServerOK();" />
  81.             </vbox>
  82.         </hbox>
  83.         <button label="&dialog.passwordconflict.showpasswords;"
  84.             oncommand="showPasswords();" />
  85.     </vbox>
  86. </dialog>
  87.